Skip to content

test(aggregator): fix stale quota pool list and dns once-assertion (#8737) - #8739

Merged
dezren39 merged 1 commit into
mainfrom
queue/14993-8737-pm-stack-tests
Nov 11, 2026
Merged

dezren39 merged 1 commit into
mainfrom
queue/14993-8737-pm-stack-tests

Conversation

@dezren39

@dezren39 dezren39 commented Nov 11, 2026 •

Copy link
Copy Markdown
Member

Closes #8737

What failed

Main run 42881857571 (head e7b9041) failed five aggregator tests. Revalidation on current main: the three dezren39/nix -> dezren39/darwin-nix rename failures (projects, board-in-flight, program) were already fixed on main after that run. Two failures remained reproducible:

  1. quota.test.ts pass-through pool assembly — the source added a third opencode-go pool (opencode-go.developing-today-0, quota-extract.ts, 2026-11-08) and the fixture renders it, but the test's expected pool list was never updated (its own comment already said thirteen pools while listing twelve).
  2. slice3.test.ts DNS page — renderDns rows now carry an anchor id dns- (the next-renewal card's link target), so each domain string occurs twice in the HTML; the test's raw split-count assertion counted occurrences, not rows.

Fix (tests only)

  • quota.test.ts: add opencode-go.developing-today-0 to the expected pool list, in render order.
  • slice3.test.ts: count one row per domain via its anchor id and its cell text instead of raw string occurrences.

Verification

  • Targeted: bun test on projects/slice3/board-in-flight/quota/program — 131 pass, 0 fail (laptop, rebased on latest main).
  • Full aggregator suite locally: 2309 pass, 3 fail — the 3 failures are in orchestration.test.ts live-source registry tests and reproduce identically on clean main without this change (pre-existing, unrelated to main CI failure: pm-stack tests — five aggregator tests fail #8737's five).

Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Summary by CodeRabbit

  • Tests
    • Updated quota expectations to include an additional OpenCode Go pool.
    • Refined DNS rendering checks to verify each fixture domain appears as both a row anchor and bold text.

@dezren39
dezren39 requested a review from a team as a code owner November 11, 2026 16:40
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-11T16:41:53.377357Z 66a6b1b PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Two aggregator tests update the expected pass-through pool list and DNS page rendering assertions.

Changes: Aggregator test updates

Layer / File(s) Summary
Pool and DNS test expectations
pm-stack/aggregator/test/quota.test.ts, pm-stack/aggregator/test/slice3.test.ts
The pass-through test adds opencode-go.developing-today-0 to the expected pool list. The DNS test checks each domain’s anchor ID and bold cell text separately.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Other

Merge Risk: Minimal · up to 66a6b

This change only updates test expectations to match current behavior. It does not touch production code and carries no identified merge risk.

Pre-merge checks: Passed 4 · Inconclusive 1

Failed Failed checks: 1 inconclusive

Check name Status Explanation Resolution
Linked Issues check Inconclusive For #8737, the diff updates the expected pool list and changes the DNS assertion to count row anchors and cell text. These changes address the two remaining failures described in the PR. The targeted … Provide reviewable evidence of a green main CI verification for the affected suite, or evidence that establishes completion of the requested main verification.
Passed Passed checks: 4 passed

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly identifies both test changes: the stale quota pool list and the DNS occurrence assertion. It is concise and directly related to the pull request.
Out of Scope Changes check Passed Both changes modify aggregator tests that directly correspond to the quota and DNS failures in #8737. The diff contains no unrelated production changes or unrelated test changes.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 2 files.

Full details: Linked Issues check

Explanation

For #8737, the diff updates the expected pool list and changes the DNS assertion to count row anchors and cell text. These changes address the two remaining failures described in the PR. The targeted result reports 131 passing tests. The provided evidence does not establish the issue's requested green main verification. The local full-suite result includes three unrelated failures.

Resolution

Provide reviewable evidence of a green main CI verification for the affected suite, or evidence that establishes completion of the requested main verification.

Finishing Touches

Generate docstrings

  • Commit to this branch
  • Create a new PR
Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: f291d036-5eb8-4ab7-b0d6-d569a1a66d22
Commits

Reviewing files that changed from the base of the PR and between 27018e7 and 66a6b1b.

Files selected for processing: 2

  • pm-stack/aggregator/test/quota.test.ts
  • pm-stack/aggregator/test/slice3.test.ts

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@dezren39
dezren39 merged commit 0550ca7 into main Nov 11, 2026
1 of 14 checks passed
@dezren39
dezren39 deleted the queue/14993-8737-pm-stack-tests branch November 11, 2026 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

main CI failure: pm-stack tests — five aggregator tests fail

1 participant